# -*- coding = utf-8 -*-
# @Time : 2021/9/10 17:19
# @Author : 龙王赘婿_彪少
# @File : demo01.py
# @Software: PyCharm

# Qt python 有两个库，一个库为PyQt5，一个为PySide2
# 此处为PySide2引例

# from PySide2.QtWidgets import QApplication, QMainWindow, QPushButton, QPlainTestEdit
from PySide2.QtWidgets import QApplication, QMainWindow, QPushButton
# from PyQt5.QtWidgets import QApplication, QMainWindow, QPushButton
app = QApplication([])

window = QMainWindow()
window.resize(500, 400)
window.move(300, 310)
window.setWindowTitle('薪水统计')

# textEdit = QPlainTestEdit(window)
# textEdit.setPlaceholderText("请输入薪资表")
# textEdit.move(10,25)
# textEdit.resize(300, 350)

button = QPushButton("统计", window)
button.move(380, 80)

app.exec_()